package com.lfy.Factor.comm.abs;

import org.springframework.stereotype.Component;

@Component
public class AbsCao2 extends CaoS {
    @Override
    public boolean parse(Integer code) {
        if (code.equals(2)){
            return true;
        }
        return false;
    }

    @Override
    public String name() {
        return "654";
    }


    @Override
    public void afterPropertiesSet() throws Exception {
        this.register();
    }
}
